package com.niiwoo.civet.trade.dao.mapper;

import com.niiwoo.civet.trade.dao.entity.LoanTimeConfig;

import java.util.List;

public interface LoanTimeConfigMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LoanTimeConfig record);

    int insertSelective(LoanTimeConfig record);

    LoanTimeConfig selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LoanTimeConfig record);

    int updateByPrimaryKey(LoanTimeConfig record);

    /**
     *
     * @Description 查找有效的时间配置
     * @return List<ProjectTimeConfig>
     *
     */
    List<LoanTimeConfig> selectValidTimeConfigs();
}